package com.source.lightfowl.person.service;


import com.source.lightfowl.person.entity.Person;
import com.source.lightfowl.person.entity.Person_Role;
import org.springframework.data.domain.Page;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

public interface UserService {

    void addUser(Person person, MultipartFile file);

    void allocateUser(String role, String id);

    void deleteUser(String id);

    List<Person_Role>  findUserAll();


    List<Person> findUserByLoginName(String loginName);

    Person findUser(String loginName);

    Person login(String username, String password, String key);

    Person checkUser(String username, String password, String key);

    Person findUserById(String id);

    void deleteUserRole(String id);

    List checkBp(String id);

    List checkSplate(String id, String bpid);
}
